/**
 * 检测中心管理模块
 */

import Layout from '@/layout'

const testingcenter = {
  path: '/testingcenter',
	component: Layout,
	meta: {title: '检测中心',icon: 'jiance',noCache: true,roles: ['admin','editor']},
	children: [
		{
			path: 'chanpinfahuo',
			component: () => import('@/views/testingCenter/chanpinfahuo/index'),
			name: 'Chanpinfahuo',
			meta: { title: '检测产品发货', noCache: true }
		},
		{
			path: 'writefahuo',
			component: () => import('@/views/testingCenter/chanpinfahuo/writefahuo'),
			name: 'Writefahuo',
			meta: { title: '编辑检测产品发货', noCache: true, activeMenu:'/testingcenter/chanpinfahuo' },
			hidden: true
    },
    {
			path: 'yangpin',
			component: () => import('@/views/testingCenter/yangpin/index'),
			name: 'Yangpin',
			meta: { title: '检测抽样样品', noCache: true }
		},
		{
			path: 'writeyangpin',
			component: () => import('@/views/testingCenter/yangpin/writeyangpin'),
			name: 'Writeyangpin',
			meta: { title: '编辑检测抽样样品', noCache: true, activeMenu:'/testingcenter/yangpin' },
			hidden: true
    },
    {
			path: 'shebeishiyong',
			component: () => import('@/views/testingCenter/shebeishiyong/index'),
			name: 'Shebeishiyong',
			meta: { title: '检测设备使用记录', noCache: true }
		},
		{
			path: 'writeshebeishiyong',
			component: () => import('@/views/testingCenter/shebeishiyong/writeshebeishiyong'),
			name: 'Writeshebeishiyong',
			meta: { title: '编辑检测设备使用记录', noCache: true, activeMenu:'/testingcenter/shebeishiyong' },
			hidden: true
    },
    {
			path: 'weituozhangdan',
			component: () => import('@/views/testingCenter/weituozhangdan/index'),
			name: 'Weituozhangdan',
			meta: { title: '检测委托账单', noCache: true }
		},
		{
			path: 'writeweituozhangdan',
			component: () => import('@/views/testingCenter/weituozhangdan/writeweituozhangdan'),
			name: 'Writeweituozhangdan',
			meta: { title: '编辑检测委托账单', noCache: true, activeMenu:'/testingcenter/weituozhangdan' },
			hidden: true
		},
		// {
		// 	path: 'fenli',
		// 	component: () => import('@/views/testingCenter/fenlei/index'),
		// 	name: 'Fenli',
		// 	meta: { title: '分类管理', noCache: true }
		// },
    {
			path: 'yuanfuliao',
			component: () => import('@/views/testingCenter/yuanfuliao/index'),
			name: 'Yuanfuliao',
			meta: { title: '原辅料统计表', noCache: true }
		},
		{
			path: 'writeyuanfuliao',
			component: () => import('@/views/testingCenter/yuanfuliao/writeyuanfuliao'),
			name: 'Writeyuanfuliao',
			meta: { title: '编辑原辅料统计表', noCache: true, activeMenu:'/testingcenter/yuanfuliao' },
			hidden: true
    },
    {
			path: 'yuanfuliaojieguo',
			component: () => import('@/views/testingCenter/yuanfuliaojieguo/index'),
			name: 'Yuanfuliaojieguo',
			meta: { title: '原辅料统计结果', noCache: true, activeMenu:'/testingcenter/yuanfuliao' },
			hidden: true
		},
		{
			path: 'writeyuanfuliaojieguo',
			component: () => import('@/views/testingCenter/yuanfuliaojieguo/writeyuanfuliaojieguo'),
			name: 'Writeyuanfuliaojieguo',
			meta: { title: '编辑原辅料统计结果', noCache: true, activeMenu:'/testingcenter/yuanfuliao' },
			hidden: true
    },
    {
			path: 'chengpinrukuqian',
			component: () => import('@/views/testingCenter/chengpinrukuqian/index'),
			name: 'Chengpinrukuqian',
			meta: { title: '成品入库前日报表', noCache: true }
		},
		{
			path: 'writechengpinrukuqian',
			component: () => import('@/views/testingCenter/chengpinrukuqian/writechengpinrukuqian'),
			name: 'Writechengpinrukuqian',
			meta: { title: '编辑成品入库前日报表', noCache: true, activeMenu:'/testingcenter/chengpinrukuqian' },
			hidden: true
    },
    {
			path: 'chengpinrukuqianjieguo',
			component: () => import('@/views/testingCenter/chengpinrukuqianjieguo/index'),
			name: 'Chengpinrukuqianjieguo',
			meta: { title: '成品入库前日报表结果', noCache: true, activeMenu:'/testingcenter/chengpinrukuqian' },
			hidden: true
    },{
			path: 'writechengpinrukuqianjieguo',
			component: () => import('@/views/testingCenter/chengpinrukuqianjieguo/writechengpinrukuqianjieguo'),
			name: 'Writechengpinrukuqianjieguo',
			meta: { title: '编辑成品入库前日报表结果', noCache: true, activeMenu:'/testingcenter/chengpinrukuqian' },
			hidden: true
    }
  ]
}

export default testingcenter